package co.baiku.boot.config;

import co.baiku.boot.cache.type.CacheEngine;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 环信
 */
@ConfigurationProperties(prefix = "ajavaer.im.easemob")
public class EasemobImConfig {
    private CacheEngine cacheEngine = CacheEngine.redis;
    private String accessTokenCacheKey = "IM:EASEMOB:ACCESS_TOKEN_KEY";
    /**
     * 企业名称
     */
    private String orgName;
    /**
     * 应用名称
     */
    private String appName;

    private String clientId;
    private String clientSecret;

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public CacheEngine getCacheEngine() {
        return cacheEngine;
    }

    public void setCacheEngine(CacheEngine cacheEngine) {
        this.cacheEngine = cacheEngine;
    }

    public String getAccessTokenCacheKey() {
        return accessTokenCacheKey;
    }

    public void setAccessTokenCacheKey(String accessTokenCacheKey) {
        this.accessTokenCacheKey = accessTokenCacheKey;
    }
}
